package com.ruoyi.production.service.plug;

import com.ruoyi.production.domain.plug.PlugPurchaseApply;

import java.util.List;

/**
 * 穴盘购买申请Service接口
 *
 * @author ruoyi
 * @date 2021-07-12
 */
public interface IPlugPurchaseApplyService
{
    /**
     * 查询穴盘购买申请
     *
     * @param plugPurchaseApplyId 穴盘购买申请ID
     * @return 穴盘购买申请
     */
    public PlugPurchaseApply selectPlugPurchaseApplyById(Long plugPurchaseApplyId);

    /**
     * 查询穴盘购买申请列表
     *
     * @param plugPurchaseApply 穴盘购买申请
     * @return 穴盘购买申请集合
     */
    public List<PlugPurchaseApply> selectPlugPurchaseApplyList(PlugPurchaseApply plugPurchaseApply);

    /**
     * 新增穴盘购买申请
     *
     * @param plugPurchaseApply 穴盘购买申请
     * @return 结果
     */
    public int insertPlugPurchaseApply(PlugPurchaseApply plugPurchaseApply);

    /**
     * 修改穴盘购买申请
     *
     * @param plugPurchaseApply 穴盘购买申请
     * @return 结果
     */
    public int updatePlugPurchaseApply(PlugPurchaseApply plugPurchaseApply);

    /**
     * 批量删除穴盘购买申请
     *
     * @param plugPurchaseApplyIds 需要删除的穴盘购买申请ID
     * @return 结果
     */
    public int deletePlugPurchaseApplyByIds(Long[] plugPurchaseApplyIds);

    /**
     * 删除穴盘购买申请信息
     *
     * @param plugPurchaseApplyId 穴盘购买申请ID
     * @return 结果
     */
    public int deletePlugPurchaseApplyById(Long plugPurchaseApplyId);
}
